package com.well.menjin.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
* @ClassName: Zone 
* @author 姜俊健 
* @date 2016年6月10日 下午3:39:51 
*
 */
@Entity(name = "door_zone")
public class Zone implements Serializable {

	private static final long serialVersionUID = -3821628250466173837L;

	@Id
	@GenericGenerator(name="id",strategy="uuid2")
	@GeneratedValue(generator="id")	
	private String id;
	
	//区域编号
	private String zone_no;
	
	//区域名称
	private String zone_name;
	
	//区域位置
	private String zone_place;
	
	//顺序
	private Integer zone_index;
	
	//通讯站点
	private String comm_station;
	
	//备注
	private String remark;
	


	//创建时间
	@Temporal(TemporalType.TIMESTAMP)
	private Date create_date; 
	
	//修改时间
	@Temporal(TemporalType.TIMESTAMP)
	private Date updata_date;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getZone_no() {
		return zone_no;
	}

	public void setZone_no(String zone_no) {
		this.zone_no = zone_no;
	}

	public String getZone_name() {
		return zone_name;
	}

	public void setZone_name(String zone_name) {
		this.zone_name = zone_name;
	}

	public String getZone_place() {
		return zone_place;
	}

	public void setZone_place(String zone_place) {
		this.zone_place = zone_place;
	}

	public Integer getZone_index() {
		return zone_index;
	}

	public void setZone_index(Integer zone_index) {
		this.zone_index = zone_index;
	}

	public String getComm_station() {
		return comm_station;
	}

	public void setComm_station(String comm_station) {
		this.comm_station = comm_station;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Date getUpdata_date() {
		return updata_date;
	}

	public void setUpdata_date(Date updata_date) {
		this.updata_date = updata_date;
	} 
	
	
}
